package com.chuck.service;

import com.chuck.entity.SysMenu;
import com.chuck.utils.DataGridResult;
import com.chuck.utils.Query;

import java.util.List;

public interface SysMenuService {
    List<SysMenu> queryListAll();

    DataGridResult getPageList(Query query);

    /*第三步：写service层*/
    void deleteBatch(Long[] ids);


    /*3.写service层*/
    List<SysMenu> queryNoButtonList();

    /*新增菜单保存*/
    void save(SysMenu sysMenu);

    /*查询一条记录*/
    SysMenu queryObject(Long menuId);

    /*菜单修改*/
    void update(SysMenu sysMenu);
}
